libxl: Portability fixes for pty handling, in libxl_osdeps.h
authorChristoph Egger <Christoph.Egger@amd.com>
Thu, 29 Jul 2010 15:12:50 +0000 (16:12 +0100)
committerChristoph Egger <Christoph.Egger@amd.com>
Thu, 29 Jul 2010 15:12:50 +0000 (16:12 +0100)
commit47aa247c1f885edc05df4e0364ad0f46ce1d05af
treefce1def2eda5d391771317f27dcc63da5ee890a2
parent64de62a14e7b37650d86c2108f1076b066bb43a5
libxl: Portability fixes for pty handling, in libxl_osdeps.h

This is the same approach used in tools/console, although we have a
separate instance of it as it is difficult to share code between these
two places.

Also add a missing include of <termios.h>, and fix a literal use of
-lutil to refer to UTIL_LIBS.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/Makefile
tools/libxl/libxl_bootloader.c
tools/libxl/libxl_osdeps.h